<#include "header.html" />

<div class="span-16" id="maincol">
  <h2>${targetUser.name}</h2>
  <#if targetUser.id != user.id>
    <div class="box">
      <#if following>
        <a href="${base}/${user.name}/unfollow/${targetUser.name}">Stop following</a>
      <#else>
        <a href="${base}/${user.name}/follow/${targetUser.name}">Follow</a>
      </#if>
      | <a href="${base}/${targetUser.name}/mentions">See mentions</a>
    </div>
  </#if>
  
  <#include "_posts.html">
</div>
<div class="span-7 last" id="rightcol">
  <div class="span-7 box">
    <h4><#if followers?size = 0>0 followers<#else>follower ${followers?size}</#if></h4>
    <#assign users = followers><#include "_user_list.html" />
  </div>
  <div class="span-7 box">
    <h4>Following ${followees?size}</h4>
    <#assign users = followees><#include "_user_list.html" />
  </div>
</div>

<#include "footer.html" />